package org.hhgzs.modules.erp.mapper;

import org.apache.ibatis.annotations.Param;
import org.hhgzs.modules.erp.entity.Sequence;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * <p>
 * 单据编号表 Mapper 接口
 * </p>
 *
 * @author peiqy
 * @since 2021-07-14
 */
public interface SequenceMapper extends BaseMapper<Sequence> {

    void updateBuildOnlyNumber(@Param("seq_name") String seq_name);

    /**
     * 获得一个全局唯一的数作为订单号的追加
     * */
    Long getBuildOnlyNumber(@Param("seq_name") String seq_name);
}
